<?php

###########################################################################
#   Copyright (C) 2012 CDNPAL LTD by Christopher Gu                       #
#   resources@cdnpal.com                                                  #
#                                                                         #
#   coded for Php 4.3/5.X and above                                       #
#   and AllowOverride all for .htaccess                                   #
#                                                                         #
#   This program is free software released                                #
#   under the GPL version 2 license:                                      #
#   http://www.gnu.org/licenses/gpl-2.0.htm                               #
#                                                                         #
#   This program is distributed WITHOUT ANY WARRANTY                      #
#   or FITNESS FOR A PARTICULAR PURPOSE.                                  #
#                                                                         #
#   DADF-SDK                                                              #
#                                                                         #
###########################################################################

class IncomingRequestCodeSize extends GenericDataObject
{
    protected $_primary = 'IncomingRequestCodeSizeID';
	protected $_name = 'IncomingRequestCodeSize';

	public $class_member_only_incoming_request_code_size_rotation;
	
	public function load_children() {
		
		$incoming_request_code_size_rotation_factory = IncomingRequestCodeSizeRotationFactory::get_instance();
		
		$params = array();
		$params["IncomingRequestCodeSizeID"] = $this->IncomingRequestCodeSizeID;
		$this->class_member_only_incoming_request_code_size_rotation = $incoming_request_code_size_rotation_factory->get_row($params);
		
	}
	
	public function save_children() {
	
		if ($this->class_member_only_incoming_request_code_size_rotation != null):
			$this->class_member_only_incoming_request_code_size_rotation->save();
		endif;
	
	}
	
}

